﻿namespace Enter.Admin.Models
{
    public class ResponseResult<T>
    {
        public ResponseResult()
        {
        }
        public ResponseResult(bool success, string message) 
        {
            Success = success;
            Data = default;
            Message = message;
        }       
        public ResponseResult(bool success, T data, string message)
        {
            Success = success;
            Data = data;
            Message = message;
        }
        public bool Success { get; set; }
        //public Enum Command { get; set; }
        public T Data { get; set; }
        public string  Message { get; set; }

    }
}
